package finbudgettable.client.ui.grid.cell.footer;

import com.google.gwt.cell.client.AbstractSafeHtmlCell;
import com.google.gwt.safehtml.shared.SafeHtml;
import com.google.gwt.safehtml.shared.SafeHtmlBuilder;
import com.google.gwt.text.shared.SimpleSafeHtmlRenderer;

public class FooterStringCell extends AbstractSafeHtmlCell<String> {

	public FooterStringCell() {
		super(SimpleSafeHtmlRenderer.getInstance());
	}

	@Override
	protected void render(Context context, SafeHtml data, SafeHtmlBuilder sb) {
		if (data != null && sb != null) {
			sb.append(data);
		}
	}

}
